import request from '@/utils/request'
export default{
    //current:当前页,limit:每页记录数,userQuery:条件对象
    getUserListPage(current,limit,userQuery){
        return request({
            url: `/educenter/member/pageUserInfo/${current}/${limit}`,
            method: 'post',
            data:userQuery
          })
    },
  //通过id删除客户
  removeDataById(id){
      return request({
        url: `/educenter/member/delUserById/${id}`,
        method: 'get',
      })
  },
  //修改讲师
  updateUser(userInfo){
    return request({
      url: `/educenter/member/updateUserInfoById`,
      method: 'post',
      data:userInfo
    })
  },
  //获取讲师信息通过id
  getUserInfo(id){
    return request({
      url: `/educenter/member/getUserById/${id}`,
      method: 'get',
    })
  },

}
